package br.ifpb.edu.main;

import java.util.List;

import br.ifpb.edu.uml.elements.Class;
import br.ifpb.edu.xmi.parser.CollectInfo;
import br.ifpb.edu.xmi.parser.printInfo;

public class XMIAnalyzeGepes {

	public static void main(String[] args) {

		//Parser p = new Parser();

		// String file = "src/RdbmsSimp.ecore";
		// String file = "src/UMLSimp.ecore";
		// String file = "src/teste.ecore";
		// String file = "src/DefaultName.ecore";
		String file = "src/br/ifpb/edu/modelos/teste.ecore";
		
		CollectInfo collectInfo = new CollectInfo( );
		printInfo p = new printInfo( );
		
		collectInfo.collectInfo( file );
		
		List<Class> classes = collectInfo.getList();
		p.printInfo(classes);
		
		//p.collectInfo( file );
		//p.printAttributs( );
		//p.printMethods( );
		//p.printRelationships(  );
		//p.printInfo(  );
	}

}